﻿<Window x:Class="BingMapTest.MainScreen"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:m="clr-namespace:Microsoft.Maps.MapControl.WPF;assembly=Microsoft.Maps.MapControl.WPF"
        Title="MainWindow" Height="350" Width="525">
 
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>
        <m:Map Name="Bing" 
           LoadingError="MapNotLoaded" 
					 CredentialsProvider="AtkLTSqCB4ENRmBqIL4UGVv_scxX0Bl6JNA4c8VXpHSaguSEw2UyfQRNsSNfZolk" 
					 Loaded="MapLoaded"
           Grid.RowSpan="2"           
					 />
        <StackPanel x:Name="Layout" Orientation="Horizontal" Grid.Row="0" Height="25" HorizontalAlignment="Right">
            <ToggleButton Content="Animate" ToolTipService.ToolTip="Animates point symbols" Width ="75" Click="ButtonClick" />
        </StackPanel>
    </Grid>

</Window>
